<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/20 0020
 * Time: 11:18
 */
namespace app\caipiao\controller;
use think\Controller;

use think\Db;

class Base extends Controller{

    public function __construct(){
        parent::__construct();
        $username = input('session.auth.nickname');

        $relname = input('session.admin');
        $this->assign('username',$username);
        $this->assign('relname',$relname);

    }


}